TQADrawLine
A drawing engine must define a method to draw a line between two points.
typedef void (*TQADrawLine) ( const TQADrawContext *drawContext, const TQAVGouraud *v0, const TQAVGouraud *v1);
drawContext
- A draw context.
v0
- A Gouraud vertex.
v1
- A Gouraud vertex.
DESCRIPTION
YourTQADrawLine
function should draw the line specified by thev0
andv1
parameters to the draw context specified by thedrawContext
parameter. The size of the line is determined by thekQATag_Width
state variable of the draw context. If the specified vertices have different colors, the line color is interpolated smoothly between the two vertex colors.